
.category-product {
  background-color: #f2f2f2;
  margin-bottom: 28px;

  h2 {
    background-color: #B1070F;
    height: 72px;
    line-height: 72px;
    font-size: 24px;
    color: #fff;
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    &.odd {
      background-color: #B7B7B7;
      color: #fff;
      .caret {
        border-top: 15px solid #000;
      }
    }

    .caret{
      display: inline-block;
      width: 0;
      height: 0;
      margin-left: 2px;
      vertical-align: middle;
      border-top: 15px dashed;
      border-top: 15px solid #fff;
      border-right: 15px solid transparent;
      border-left: 15px solid transparent;
      transition: transform .5s;
    }
  }

  &-list{
    transition: height .5s;
    padding: 20px 12px 0 12px;
    background-color: #fff;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;

    &-container {
      display: flex;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
    }
  }

  &-list-item {
    min-width: 305px;
    min-height: 266px;
    border: 1px solid RGBA(102, 102, 102, 0.19);
    padding: 40px 0px 16px 16px;
    margin-right: 13px;
    position: relative;

    .item-title{
      font-size: 17px;
      color: #000;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }
    .item-brief{
      font-size: 15px;
      color: #888;
      margin-top: 14px;
      padding-top: 2px;
      text-overflow: ellipsis;
      // white-space: nowrap;
      overflow: hidden;
      height: 51px;
      span{
        display: inline-block;
        color: #E60E15;
        margin-right: 10px;
      }
    }
    .item-price{
      margin-top: 11px;

      font-size: 0.3rem;
      color: #000;
    }

    > img {
      max-width: 90px;
      max-height: 90px;
      position: absolute;
      right: 10px;
      bottom: 20px;
    }
    a{
      color: #BA3D40;
      // margin-top: 20px;
      display: block;
      position: absolute;
      bottom:20px;
      left: 20px;

      >img {
        position: absolute;
        width: 10px;
        top: 5px;
        right: 300px;
      }
    }
    span {
      display: block;
    }
  }
}